package ru.study.thinkin.chapter3;

import static ru.study.utils.UtilPrint.*;

import java.util.Random;



public class Test3 {
	static void f(Tank y) {
		y.c='z';
		print("f id="+y.getId());
	}
	public static void main(String[] args) {
		double d = 1D;
		
		/*print("QWERTY");
		Tank x = new Tank();
						
		x.c='a';
		print("1:x.c="+x.c);
		print("1 id="+x.getId());
		
		f(x);
		print("2:x.c="+x.c);
		*/
		/*
		Integer i1 = new Integer(20);
		Integer i2 = new Integer(20);
		
		Tank x1 = new Tank();
		x1.setId(5);
		Tank x2 = new Tank();
		x2.setId(5);
		
		print(i1.equals(i2));
		print(x1.equals(x2));
		print(5>2?"Yes":"No");
		*/
		
		int i = 100;
		long lng=i;
		
		int i3 =(int)lng;
        
		double d1 = 1.8D;
		System.out.println(((int)d1));
		System.out.println((Math.round(d1)));
		
		int x=5; int y=6;
		x=x|y;
		System.out.println(x);
	}
	
}
